package com.learn.jpatest.model;

import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.NotBlank;

@Data
@MappedSuperclass
public abstract class BaseNote extends BaseEntity {

    @NotBlank
    private String title;

    @NotBlank
    private String content;

}
